Design Patterns: A Round-trip

نویسندگان

  • Hervé Albin-Amiot
  • Yann-Gaël Guéhéneuc
چکیده

Design patterns are of major interest to increase software quality and abstraction level. However, design patterns are difficult to choose, to apply, and to recover. We propose a set of tools to use design patterns in a round-trip fashion. We define a meta-model to describe design patterns. This meta-model is specifically oriented towards design patterns instantiation and detection. We develop a source-to-source transformation engine to modify the source code to comply with design patterns descriptions. Meanwhile, we use an explanationbased constraint solver to detect design patterns in source code from their descriptions. With these tools, we hope to offer a mean to apply and to recover design patterns without overhead for the developers. ∗This work is partly funded by Soft-Maint – 4, rue du Château de l’Éraudière – 44 324 Nantes – France. †This work is partly funded by Object Technology International Inc. – 2670 Queensview Drive – Ottawa, Ontario, K2B 8K1 – Canada. 1 Problems Developing quality code is a major concern for the software community. Producing bug-free, extensible, and adaptable [Tok99] code is a hard task that requires skills, experience, and a deep understanding of the structure and behavior [RD99] of the software under development and of its context. The first problem encountered when developing quality code is in understanding the legacy of previous developments. As Enzo Torresi put it, in the Bits and Bytes column of the San Jose Mercury News (November the 15th, 1990; cited in [Pot90]): The reason God was able to create the world in seven days is that he did not have to worry about the installed base. An experienced programmer can often reconstruct much of the hierarchy of a program’s design by recognizing commonly used data structures and algorithms, and by knowing how they typically implement high-level abstractions [RW90]. However, This paper has been accepted at the workshop for PhD Students in Object-Oriented Systems at ECOOP 2001

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Process model for round-trip engineering with relational database

Iterative and incremental development of client/server database systems requires a round-trip engineering support, in particular in a designimplementation cycle. This paper identifies some more difficult round-trip engineering scenarios and defines processes needed to handle those scenarios. The processes conform to the current state-of-the-practice in forward and reverse engineering with relat...

متن کامل

On Modeling Round-Trip Time Dynamics of the Internet Using System Identification

Understanding the end-to-end packet delay dynamics of the Internet is of crucial importance since it directly affects the QoS (Quality of Services) of realtime services, and it enables us to design an efficient congestion control mechanism. In this paper, we measure the round-trip time, and build a mathematical model representing its dynamics using system identification. We first measure, as th...

متن کامل

Master’s Thesis Title Studies on Modeling Packet Delay Dynamics of the Internet using System Identification and its Application for Designing a Rate-Based Congestion Control Mechanism

Understanding the end-to-end packet delay dynamics of the Internet is of crucial importance since it directly affects the QoS (Quality of Services) of realtime services, and it enables us to design an efficient congestion control mechanism. In this thesis, we measure the round-trip time in the actual operating Internet, and build a mathematical model representing its dynamics using system ident...

متن کامل

New Methods for Passive Estimation of TCP Round-Trip Times

We propose two methods to passively measure and monitor changes in round-trip times (RTTs) throughout the lifetime of a TCP connection. Our first method associates data segments with the acknowledgments (ACKs) that trigger them by leveraging the TCP timestamp option. Our second method infers TCP RTT by observing the repeating patterns of segment clusters where the pattern is caused by TCP selfc...

متن کامل

Measurement-Based Modeling of Internet Round-Trip Time Dynamics Using System Identification

Understanding the end-to-end packet delay dynamics of the Internet is of crucial importance since it directly affects the QoS (Quality of Services) of various applications, and it enables us to design an efficient congestion control mechanism. In our previous studies, we have measured round-trip time of the Internet, and have modeled its dynamics by the ARX (Auto-Regressive eXogenous) model usi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001